<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .box{
            background-color: grey;
            position: relative;
            height: 650px;
            width: 1400px;
        }
        .box1{
            width: 300px;
            height: 300px;
            background-color: white;
            padding-left: 10px;
            position: absolute;
            left:50%;
            top:50%;
            transform: translate(-50%,-50%);
        }
        .yes{
            background-color: #b5edf4;
            color: white;
            width: 50px;
            height: 25px;
            line-height: 25px;
            position: absolute;
            text-align: center;
            border-radius: 15px;
            right:20%;
        }
    </style>
</head>
<body>
<div class="box">
<div class="box1">
    <h1>提示信息</h1>
    <p>这是⼀个模态对话框示例。您可以通过点击按钮或关闭按钮来控制它的显示和隐藏。</p>
    <p>模态框通常⽤于显示重要的信息、确认操作或收集⽤户</p>
    <div class="yes">确认</div>
</div>
</div>
</body>
</html>
